﻿using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Quickuse.Logging;
using Quickuse.Logging.EsLogger;
using Quickuse.Utility;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;

namespace Quickuse.ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            var _logger = LogHelper.CreateLogger<Program>();

            _logger.LogTrace($"LogTrace:{DateTime.Now.Toyyyy_MM_dd_HH_mm_ss()}");
            _logger.LogDebug($"LogDebug:{DateTime.Now.Toyyyy_MM_dd_HH_mm_ss()}");
            _logger.LogInformation($"LogInformation:{DateTime.Now.Toyyyy_MM_dd_HH_mm_ss()}");
            _logger.LogWarning($"LogWarning:{DateTime.Now.Toyyyy_MM_dd_HH_mm_ss()}");
            _logger.LogError($"LogError:{DateTime.Now.Toyyyy_MM_dd_HH_mm_ss()}");
            _logger.LogCritical($"LogCritical:{DateTime.Now.Toyyyy_MM_dd_HH_mm_ss()}");
            
            Console.WriteLine("ok");
            Console.ReadKey();
        }

    }
}
